package edu.nakan.employee;

/**
 * @author PHUNG Nam Can - NakanPhung
 * @mail cank56hua@gmail.com
 * @date Jul 23, 2013 11:24:26 AM
 * @project HomeWorkDay4Problem2
 * @file EmployeeDemo.java
 */

public class EmployeeDemo {

	public static void main(String[] args) {

		// To create new Object
		Employee m1 = new Employee("NV001", "HoaNH", "7/20/2013",
				Employee.calculatePay(1000));
		Employee m2 = new Employee("NV002", "XuanPH", "7/10/2013",
				Employee.calculatePay(2000));
		Employee m3 = new Employee("NV003", "VietHV", "7/08/2013",
				Employee.calculatePay(3000));

		System.out.println("Code \t\t\t Name \t\t\t Date \t\t\t\t Pay");

		// To display the Object
		System.out.println(m1.toString());
		System.out.println("Compare : " + m1.equals(m2));
		m1.display();
		m2.display();
		m3.display();
	}

	/**
	 * @param m1
	 * @param m2
	 * @return
	 */
	private static String equals(Employee m1, Employee m2) {
		// TODO Auto-generated method stub
		return null;
	}

}
